Auto merge of #5520 - alexcrichton:check-with-full-proc-macro, r=matklad
authorbors <bors@rust-lang.org>
Fri, 11 May 2018 22:55:05 +0000 (22:55 +0000)
committerbors <bors@rust-lang.org>
Fri, 11 May 2018 22:55:05 +0000 (22:55 +0000)
commit0e042e82e4085ae8eed3cbfa1783ba7b32d9a821
tree7ee33d9773d1eeb0715f2ce1f704036acea1b771
parent2f7cf4a6db13e7e240b038971fc2d24196608e10
parent5e76cbc55a956fffa1dd55d0ec8c3ba939f4cfea
Auto merge of #5520 - alexcrichton:check-with-full-proc-macro, r=matklad

Fix mode generated in `maybe_lib`

The new `mode` for the library dependency is dependent on the library target
rather than the target which is the reason for the dependency on the library!

Closes rust-lang/rust#50640